<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>盒子阴影</title>
    <style>
     div{
         width: 300px;
         height: 300px;
         background-color: pink;
         border:1px solid black;
         margin: 100px auto;
         box-shadow: 200px 100px 1px 10px rgb(0,0,0,0.4);
         /*语法 box-shadow: h-shadow v-shadow blur spread color inset;  */
         /* 盒子阴影:水平阴影,垂直阴影,模糊距离,阴影大小,阴影颜色,inset内部阴影; */
     }
    
    </style>
</head>

<body>
    <div></div>
</body>

</html>